package com.xiaochuan.tracert.entity;


import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

public class Plantation {
    @Getter @Setter @NotNull  private int id;

    // 种植基地类型
    @Getter @Setter @NotNull private int type = -1;

    // 种植基地名称
    @Getter @Setter private String name;

    // 种植基本创建时间
    @Getter @Setter private LocalDateTime buildTime;

    // 种植基地地点
    @Getter @Setter private String address;
}
